/*
 * @Author: sunbudao
 * @Date: 2019-12-09 14:03
 */
//调用接口配置文件
import { request } from 'config/request'
//获取身份
export async function roleList(params) {
  return request({
    url: 'admin/person/getAllRoles',
    method: 'get',
    data: params,
  });
};

//用户详情
export async function userDetail(params) {
  return request({
    url: `admin/person/detail/${params}`,
    method: 'get',
    data: '',
  });
};
//取消认证
export async function cancel(params) {
  return request({
    url: `admin/person/cancelCertificate/${params}`,
    method: 'get',
    data: '',
  });
};







